package com.example.spring_config.controller;

import com.example.spring_config.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;


@Controller
public class TestController {

    @Autowired
    private PermissionService permissionService;

   /* @RequestMapping("/getPermossionList")
    @ResponseBody
    public List getPermossionList(){
        List<Permission> permissions = permissionService.list();
        if(permissions==null){
            return Collections.emptyList();
        }else {
            return ToLayuiDataUtil.PermissionArrayToLayui(permissions);
        }
    }*/



}
